package com.openlogic.common.plugins.db.mysql.param;

import com.openlogic.common.plugins.db.api.dto.BaseDataSourceParamDto;
import com.openlogic.common.plugins.spi.enums.DbType;

/**
 * @ClassName: MySQLDataSourceParamDTO
 * @Description: MYSQL连接参数DTO
 * @author weiyongpeng
 * @date 2024年11月16日 下午1:56:34
 */
public class MySQLDataSourceParamDTO extends BaseDataSourceParamDto {

	private static final long serialVersionUID = 1L;

	@Override
	public String toString() {
		return "MySQLDataSourceParamDTO{" + "name='" + name + '\'' + ", desc='" + desc + '\'' + ", host='" + host + '\''
				+ ", port=" + port + ", database='" + database + '\'' + ", userName='" + userName + '\''
				+ ", password='" + password + '\'' + ", other='" + other + '\'' + '}';
	}

	@Override
	public DbType getType() {
		return DbType.MYSQL;
	}
}
